<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title>lark doc</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <link rel="stylesheet" type="text/css" href="../css/comm/reset.css">
    <link rel="stylesheet" type="text/css" href="../lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="../css/comm/box.css">
    <link rel="stylesheet" type="text/css" href="../css/comm/form.css">
</head>

<body class="container nr-style">
    <div class="box box-default">
        <div class="box-header">
            <h3 class="box-title">群组管理</h3>
        </div>
        <div class="box-body">
            <!-- 功能操作区 -->
            <div class="box-operation">
                <div class="operation-wrap">
                    <button class="btn btn-normal" data-toggle="modal" data-target="#exampleModal">新增群组</button>
                    <button class="btn btn-op" id="remove">删除群组</button>
                </div>
            </div>
            <div class="box-data box-table">
                <table class="table table-bordered table-striped">
                    <thead>
                        <tr>
                            <th id="toggle">
                                <span class="glyphicon glyphicon-check"></span>
                            </th>
                            <th>名称</th>
                            <th>描述</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <!-- <tbody>
                        <tr>
                            <td class="nodata" colspan="4">
                                <span>暂无群组数据</span>
                            </td>
                        </tr>
                    </tbody> -->
                    <tbody>
                        <tr>
                            <td>
                                <span class="glyphicon glyphicon-check toggle-choose" data-id="1"></span>
                            </td>
                            <td>
                                <span>群组1</span>
                            </td>
                            <td>
                                <span>群组2</span>
                            </td>
                            <td class="box-table-action">
                                <a data-toggle="modal" data-target="#exampleModal">编辑</a>
                                <a href="" class="removeOne">删除</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="box-page row">
                <div class="col-sm-5 page-info">
                    <label>共 <span>1</span> 条 每页显示
                        <select class="input-sm">
                            <option>5</option>
                            <option>10</option>
                            <option>20</option>
                            <option>50</option>
                        </select>
                    </label>
                </div>
                <div class="col-sm-7 text-right">
                    <nav aria-label="Page navigation">
                        <ul class="pagination" id="pagination">
                            <li class="disabled">
                                <a href="#" aria-label="上一页">
                                    <span aria-hidden="true">&laquo;</span>
                                </a>
                            </li>
                            <li class="active"><a href="#">1</a></li>
                            <li><a href="#">2</a></li>
                            <li><a href="#">3</a></li>
                            <li><a href="#">4</a></li>
                            <li><a href="#">5</a></li>
                            <li>
                                <a href="#" aria-label="下一页">
                                    <span aria-hidden="true">&raquo;</span>
                                </a>
                            </li>
                        </ul>
                    </nav>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="../js/lib/jquery.min.js"></script>
    <script type="text/javascript" src="../lib/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="../js/group.js"></script>
</body>

</html>
<div class="modal fade" tabindex="-1" id="exampleModal" role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">新增群组</h4>
            </div>
            <div class="modal-body">
                <form action="/login" method="post">
                    <div class="form-group">
                        <div class="input-group require">
                            <span class="input-group-addon">名称</span>
                            <input name="account" type="text" class="form-control" placeholder="请输入名称" required>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="input-group">
                            <span class="input-group-addon">描述</span>
                            <textarea class="form-control"></textarea>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer text-center">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary">保存</button>
            </div>
        </div>
    </div>
</div>

<!-- 警告框 -->
<div class="alert alert-warning alert-dismissible hidden" role="alert" id="alert">
    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
        <span aria-hidden="true">&times;</span>
    </button>
    <strong>注意!</strong>
</div>